ci(#5509): add harness-eval static analysis for agent configurations#5510
ci(#5509): add harness-eval static analysis for agent configurations#5510Benkapner wants to merge 1 commit into
Conversation
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
1 similar comment
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
PR Summary by QodoCI: add harness-eval checks for agent configuration changes
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Site previewPreview: https://455ddefe-site.fullsend-ai.workers.dev Commit: |
Code Review by Qodo
1.
|
|
Agent files will disappear soon from this repository, is this still valid with that fact? |
|
@rh-hemartin and this repo will not have any harness files at all? agents, skills, commands, claude md hooks? if not so its not relevant but maybe in the new/other repo they will be? |
No, they were moved to github.com/fullsend-ai/agents. We will have skills, commands and claude.md hooks here, but for our development usage, not for agents. |
|
the main thing this tool does is lint + security checks if the user has committed any change to one of those harness files so could be relevant both here and the fullsend-ai/agents. wont hurt to add it to the CI. also it connects to docs/problems/trustworthiness-evidence.md @rh-hemartin |
|
Ah, for a moment I was confused as well regarding the concept of harness, for us is a specific thing. Then it could be useful here, yes. You need to pass |
rh-hemartin
left a comment
There was a problem hiding this comment.
Incorporate this as a step in the current lint.yaml workflow, as it contains all the CI checks. The file filter can be done within a step, or just run it against everything. Optionally, since this does not require LLM, you could add it as a pre-commit (however this is more involved than the current setup, so don't worry, maybe a followup).
|
moved harness-eval into lint.yml as a step in the test job instead of a separate workflow. uses the checkout v7.0.1 already pinned there. will look into pre-commit integration as a follow-up. |
|
You need to fix all the commits to |
4d397b2 to
310f489
Compare
|
squashed into a single commit with ci(#5509) prefix. should pass commit-lint now. |
|
Hey! Would you able to fix the problems raised by the tool? |
Add harness-eval as a step in the existing lint.yml test job. Runs 74 deterministic lint rules against agent configurations (skills, commands, AGENTS.md, CLAUDE.md) in both repo root and internal/scaffold/fullsend-repo. Pinned to harness-eval==6.1.0 for renovate tracking. Signed-off-by: Benjamin Kapner <bkapner@redhat.com>
310f489 to
cb21805
Compare
|
they were false positives of broken references. i fixed all of them (generic solution) in my repo and released harness-eval v6.1.1 with better path resolution for broken-references (checks project root, skill scripts/ subdir, skips code blocks, skips bare filenames). bumped to ==6.1.1 in this PR. the step now passes with 0 errors on this repo. the 56 warnings it reports are all real quality findings (orphan skills, unfinished content, stale python version, taint flow in merge-queue). happy to open a separate PR for those if you want, or leave them as advisory. they are not something that should block @rh-hemartin while i write this i see that the CI keeps failng. i think its because 6.1.1 is not publish yet. we should just wait a few minutes are re try |
Summary
Adds a CI workflow that runs harness-eval static analysis on every PR touching agent configuration files.
CLAUDE.md,AGENTS.md,skills/,commands/) and scaffold (internal/scaffold/fullsend-repo/)recommendedpreset (structural errors block, quality warnings are advisory)No LLM calls, runs in seconds, fully deterministic. Uses the harness-eval GitHub Action with pinned checkout action SHA per repo convention.
Related Issue
Closes #5509
Testing
Checklist